package com.study.app.domain.bo;

import com.study.common.core.domain.BaseEntity;
import com.study.common.core.validate.AddGroup;
import com.study.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * 用户心愿单业务对象 app_user_wish
 *
 * @author study
 * @date 2023-04-20
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class AppUserWishBo extends BaseEntity {


    /**
     * 用户编码
     */
    @NotBlank(message = "用户编码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String userCode;

    /**
     * 商品ID
     */
    private Long goodId;


}